package com.example.eurekaclient.api;

import com.example.eurekaclient.domain.AjaxResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author GuoAo
 * @className DemoController
 * @date 2025/3/5
 * @description TODO
 */
@RestController
@RequestMapping("/test")
public class DemoController {

    @GetMapping("/info")
    public AjaxResult info() {
        return AjaxResult.success("eureka-demo");
    }
}
